package com.wudizaba.pg.domain.DTO;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.wudizaba.pg.domain.po.veryGoodFriends;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDate;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="练习生信息入参对象", description="")
public class StoredProcedureDrillDTO {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    @ApiModelProperty(value = "id")
    private Integer id;

    @TableField("name")
    @ApiModelProperty(value = "姓名")
    private String name;

    @TableField("age")
    @ApiModelProperty(value = "年龄")
    private Integer age;

    @TableField("exercise_duration")
    @ApiModelProperty(value = "练习时长")
    private String exerciseDuration;

    @TableField("hobbies")
    @ApiModelProperty(value = "爱好")
    private String hobbies;

    @TableField("birth_year")
    @ApiModelProperty(value = "出生年份")
    private LocalDate birthYear;

    @TableField("job")
    @ApiModelProperty(value = "职业")
    private String job;

    @TableField("purses")
    @ApiModelProperty(value = "钱包")
    private Integer[] purses;

    @TableField("very_good_friends")
    @ApiModelProperty(value = "很好的朋友")
    private veryGoodFriends veryGoodFriends;
}
